package com.yzf.test;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;

import com.yzf.service.DemoService;

import org.junit.Before;
import org.junit.Test; 

public class DemoTestCase extends BaseTransactionTestCase{

	@Autowired  
    public DemoService demoService; 
	
	
    @Before  
    public void setUp() throws Exception {  
          
    }  
    
	@Test  
    public void testInsertCategory() throws Exception{  
		List<Map<String, Object>> list = (List<Map<String, Object>>) demoService.demo();
		
		logger.info("数据:" + list);
		System.out.println("list:"+list);
    }  
}
